<template>
  <div class="ReleaseTopic" v-if="authorization">
    <router-link to="#">
      <p>发布话题</p>
    </router-link>
  </div>
</template>

<script>
export default {
  data() {
    return {
      authorization: localStorage.getItem("authorization"), //token
    };
  },
};
</script>

<style>
.ReleaseTopic {
  height: 50px;
  background: #fff;
  padding: 10px;
  margin-bottom: 13px;
  border-radius: 3px;
}
.ReleaseTopic p {
  width: 84px;
  height: 30px;
  background: #74b600;
  line-height: 30px;
  text-align: center;
  border-radius: 3px;
  font-size: 14px;
  color: #fff;
}
</style>